/**
 * 
 */
package edu.serg.mbar.ucon.interfaces;

import java.util.Vector;

import org.w3c.dom.Node;


/**
 * This interface is implemented in all those classes which will provide such functionality as reading and
 * changing the attributes of objects
 * 
 * @author Sanaullah
 *
 */
public interface AttributeReader {
	
	public Vector<Object> getAttributeValue(String targetID, String attributeName);
	
	/**
	 * Resolves the target specified in the ObjectAttribute node/element andalso the TargetAttribute node/element in the xml policy file.
	 *  
	 * @param objectAttribute
	 * 		The ObjectAttribute node or the TargetAttribute Node in the UCON policy document.
	 * @param subjectID
	 * 		The ObjectID of the object which is being requested and whose associated policy is being evaluated. 
	 * @param objectID
	 * 		The SubjectID of the Subject which is requesting for the object.
	 * @return
	 */
	public String resolveTargetOfObjectAttributeNode(Node objectAttribute, String subjectID, String objectID);

}
